Release 10.1A: OpenEdge Data Management:
SQL Reference
SQLCursor.wasNULL
Checks if the value in a fetched field is
NULL.Format
public boolean wasNULL(intfield)Returns
True if the field is
NULL, false otherwise.Parameters
fieldAn integer that specifies which field of the fetched record is of interest. (1 denotes the first column of the result set, 2 denotes the second, and so on.)
wasNULLchecks whether the value in the currently fetched record of the column denoted by field isNULL.Throws
Example
DhSQLExceptionThis code fragment illustrates the
wasNULLmethod:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |